package cn.csc.module.product.controller.admin.spu.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * @author 云隐
 * @date 2024/11/22
 **/
@Data
public class SpuBasicAttrReqV2VO  implements Serializable {

    @ApiModelProperty(value = "id")
    private BigInteger id;
    @ApiModelProperty(value = "商家ID")
    private BigInteger shopId;
    @ApiModelProperty(value = "商品基础属性名称")
    @Length(max = 12,message = "最大不能超过12个字")
    private  String name;
    @ApiModelProperty(value = "商品基础属性值")
    @Length(max = 12,message = "最大不能超过12个字")
    private String value;
}
